package com.jz.partclass.service;

import com.jz.legalplantclass.entity.LegalPlantClassAddVo;
import com.jz.partclass.model.PartAddVo;
import com.jz.partclass.model.PartSelectVo;
import com.jz.partclass.model.PartUpdateStatusVo;
import com.jz.partclass.model.PartUpdateVo;
import com.jz.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by WISE on 2021/12/26.
 */
public interface PartService {
    //1.首页分页展示小类
    ResultVo firstPage(PartSelectVo partSelectVo);

//    ResultVo addSubClass(@Valid CatAddVo partAddVO);
//
//    ResultVo queryById(Integer id);
//
    ResultVo updateSubClass(@Valid PartUpdateVo partUpdateVo);

    ResultVo queryByUserId(Integer userId);

    ResultVo queryAll();

    ResultVo queryAll2();

    ResultVo addpartClass(@Valid PartAddVo partAddVO);

    ResultVo updateStatus(@Valid PartUpdateStatusVo partUpdateStatusVo);

}


